import qbs

Project{
    CppApplication {
        Depends { name: "Qt"; submodules: ["core"] }
        Depends { name: "utils"}
        type: "application"
        consoleApplication: true
        cpp.cxxFlags:{
            var flags = base
            if(cpp.compilerName.contains("g++"))
                flags = flags.concat(["-std=gnu++11"])
            return flags
        }

        Group{
            name:"app"
            prefix:"src/"
            files:["*.cpp","*.hpp"]
        }
        Group{
            name: "data_object"
            prefix: "../../dsp_lab/src/dataobject/"
            files:["*.hpp","*.cpp"]
        }

        cpp.includePaths : {
            var inc = base.concat(["src","../utils/include","../../dsp_lab/src","../../dsp_lab/src/dataobject"])
            return inc
        }
    }
}
